package jeu;

/**
 * Created by IntelliJ IDEA.
 * User: cvermot2
 * Date: 1 mars 2010
 * Time: 10:42:50
 * To change this template use File | Settings | File Templates.
 */

public class Joueur {
    private String nom;
    private int nbGraines;
    private int nbCoups;    
    public Joueur(String nom){
        this.nom = nom;
        nbGraines = 0;
        nbCoups = 0;
    }

    public int getNbGraines(){
        return nbGraines;
    }

    public int getNbCoups(){
        return nbCoups;
    }

    public String getNom(){
        return nom;
    }
    public void addGraines(int nbGraines){
        this.nbGraines += nbGraines ;    
    }

    public void setGraines(int nbGraines){
         this.nbGraines = nbGraines;
    }
}
